package com.sjr.easy.chat.service;

import com.sjr.easy.chat.model.User;

import java.util.List;

public interface UserService {


    List<User> getAllUser();


    User selectByPhone(String phone);


    List<User> selectByIdList(List<Long> idList);


    User selectById(Long id);


    User selectByCode(String code);


    void addUser(User user);


    void updateUserHeadPortrait(User user);


    void changeUserNickName(Long userId, String newNickName);
}
